/* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ Open source under the BSD License. Copyright ? 2008 George McGinley Smith All rights reserved. https://raw.github.com/danro/jquery-easing/master/LICENSE EASING EQUATIONS Copyright ? 2001 Robert Penner All rights reserved. http://www.robertpenner.com/easing_terms_of_use.html jQuery Cookie Plugin v1.4.1 https://github.com/carhartl/jquery-cookie Copyright 2006, 2014 Klaus Hartl Released under the MIT license IE10 viewport hack for Surface/desktop Windows 8 bug Copyright 2014 Twitter, Inc. Licensed under the Creative Commons Attribution 3.0 Unported License. For details, see http://creativecommons.org/licenses/by/3.0/. */ jQuery.easing.jswing=jQuery.easing.swing; jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(d,a,b,c,e){return jQuery.easing[jQuery.easing.def](d,a,b,c,e)},easeInQuad:function(d,a,b,c,e){return c*(a/=e)*a+b},easeOutQuad:function(d,a,b,c,e){return-c*(a/=e)*(a-2)+b},easeInOutQuad:function(d,a,b,c,e){return 1>(a/=e/2)?c/2*a*a+b:-c/2*(--a*(a-2)-1)+b},easeInCubic:function(d,a,b,c,e){return c*(a/=e)*a*a+b},easeOutCubic:function(d,a,b,c,e){return c*((a=a/e-1)*a*a+1)+b},easeInOutCubic:function(d,a,b,c,e){return 1>(a/=e/2)?c/2*a*a*a+b: c/2*((a-=2)*a*a+2)+b},easeInQuart:function(d,a,b,c,e){return c*(a/=e)*a*a*a+b},easeOutQuart:function(d,a,b,c,e){return-c*((a=a/e-1)*a*a*a-1)+b},easeInOutQuart:function(d,a,b,c,e){return 1>(a/=e/2)?c/2*a*a*a*a+b:-c/2*((a-=2)*a*a*a-2)+b},easeInQuint:function(d,a,b,c,e){return c*(a/=e)*a*a*a*a+b},easeOutQuint:function(d,a,b,c,e){return c*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQuint:function(d,a,b,c,e){return 1>(a/=e/2)?c/2*a*a*a*a*a+b:c/2*((a-=2)*a*a*a*a+2)+b},easeInSine:function(d,a,b,c,e){return-c*Math.cos(a/ e*(Math.PI/2))+c+b},easeOutSine:function(d,a,b,c,e){return c*Math.sin(a/e*(Math.PI/2))+b},easeInOutSine:function(d,a,b,c,e){return-c/2*(Math.cos(Math.PI*a/e)-1)+b},easeInExpo:function(d,a,b,c,e){return 0==a?b:c*Math.pow(2,10*(a/e-1))+b},easeOutExpo:function(d,a,b,c,e){return a==e?b+c:c*(-Math.pow(2,-10*a/e)+1)+b},easeInOutExpo:function(d,a,b,c,e){return 0==a?b:a==e?b+c:1>(a/=e/2)?c/2*Math.pow(2,10*(a-1))+b:c/2*(-Math.pow(2,-10*--a)+2)+b},easeInCirc:function(d,a,b,c,e){return-c*(Math.sqrt(1-(a/=e)* a)-1)+b},easeOutCirc:function(d,a,b,c,e){return c*Math.sqrt(1-(a=a/e-1)*a)+b},easeInOutCirc:function(d,a,b,c,e){return 1>(a/=e/2)?-c/2*(Math.sqrt(1-a*a)-1)+b:c/2*(Math.sqrt(1-(a-=2)*a)+1)+b},easeInElastic:function(d,a,b,c,e){d=1.70158;var f=0,h=c;if(0==a)return b;if(1==(a/=e))return b+c;f||(f=.3*e);ha?-.5*h*Math.pow(2,10*--a)*Math.sin(2*(a*e-d)*Math.PI/f)+b:h*Math.pow(2,-10*--a)*Math.sin(2*(a*e-d)*Math.PI/f)*.5+c+b},easeInBack:function(d,a,b,c,e,f){void 0==f&&(f=1.70158); return c*(a/=e)*a*((f+1)*a-f)+b},easeOutBack:function(d,a,b,c,e,f){void 0==f&&(f=1.70158);return c*((a=a/e-1)*a*((f+1)*a+f)+1)+b},easeInOutBack:function(d,a,b,c,e,f){void 0==f&&(f=1.70158);return 1>(a/=e/2)?c/2*a*a*(((f*=1.525)+1)*a-f)+b:c/2*((a-=2)*a*(((f*=1.525)+1)*a+f)+2)+b},easeInBounce:function(d,a,b,c,e){return c-jQuery.easing.easeOutBounce(d,e-a,0,c,e)+b},easeOutBounce:function(d,a,b,c,e){return(a/=e)<1/2.75?7.5625*c*a*a+b:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+.75)+b:a<2.5/2.75?c*(7.5625*(a-= 2.25/2.75)*a+.9375)+b:c*(7.5625*(a-=2.625/2.75)*a+.984375)+b},easeInOutBounce:function(d,a,b,c,e){return aClose [X]'),b=d.extend({closeButton:".cookiebar-close"},a));if("hide"!=d.cookie("cookiebar")){c.show();var e=c.height();d("body").css({marginBottom:e})}else c.hide();c.find(b.closeButton).click(function(){c.hide();d.cookie("cookiebar","hide",{path:b.path,secure:b.secure,domain:b.domain, expires:30});d("body").css({marginBottom:"0"});return!1})})}})(jQuery);(function(){if(navigator.userAgent.match(/IEMobile\/10\.0/)){var d=document.createElement("style");d.appendChild(document.createTextNode("@-ms-viewport{width:auto!important}"));document.querySelector("head").appendChild(d)}})();function toggle_visibility(d){d=document.getElementById(d);d.style.display="none"==d.style.display?"block":"none"} function popUpCenter(d,a,b,c){d=window.open(d,a,"menubar=no,toolbar=no,resizable=yes,scrollbars=yes, width="+b+", height="+c+", top="+((void 0!=window.screenTop?window.screenTop:window.screenY)+(window.outerHeight/2-c/2))+", left="+((void 0!=window.screenLeft?window.screenLeft:window.screenX)+(window.outerWidth/2-b/2)));window.focus&&d.focus()} (function(d){d.fn.gcfancybox=function(){if(d(this).length){var a={margin:20,transitionIn:"none",transitionOut:"none",overlayColor:"#100c0c",overlayOpacity:.69,vidContId:"",titlePosition:"inside",titleFormat:function(a,b,f,h){a=d(b[f]);b=a.attr("id");var g=window.location.href;b&&(f=g.indexOf("#"),0<=f&&(g=g.substr(0,f)),g=g+"#$"+b,history.replaceState&&history.replaceState("",document.title,g));f=a.attr("href");h=0!==f.indexOf("#");var k=a.children("img:first").attr("alt");a=(h?k:"")+'
'; var l=encodeURIComponent(g),k=encodeURIComponent(k),g=0<=g.indexOf("#")?"&":"#",n=function(a,c,b,d){return" onclick = \"javascript: _paq.push(['trackEvent', 'social', '"+a+"', 'IMG-"+c+"']);popUpCenter(this.href, '', "+b+", "+d+');return false;"'},q=function(a,c){return" onclick = \"javascript: _paq.push(['trackEvent', 'social', '"+a+"', 'IMG-"+c+"']);return true;\""};a+='
  • ';a+='
  • ';a+='";a+='
  • ';a+='";var m;h&&(m=document.createElement("a"),m.href=f,m=encodeURIComponent(m.href));a+='
  • ';a=h?a+('"):a+('");a+='
  • ';a+='";a+='
  • ';a+='";a+="
";return a+="
"},onComplete:function(a,b, f){f.vidContId&&(a=d(f.vidContId).find("video:first").get(0))&&a.play()},onCleanup:function(a,b,f){f.vidContId&&(a=d(f.vidContId).find("video:first").get(0))&&a.pause()},onClosed:function(){history.replaceState&&history.replaceState("",document.title,window.location.pathname+window.location.search)}},b=d(this).attr("href");0===b.indexOf("#")&&(d.extend(a,{width:"70%",height:"70%",autoDimensions:!1}),0